#!/usr/bin/env python
# -*-coding:utf-8-*-
# File    : liyuqi.py
# Date    : 2021-02-16
# Author  : Tom.Lee

import re

article = '''
Tom's email is tom_me01@pi.com.cn,and Coral's email is coral@163.com. But I use 54345wz@qq.com.
'''

ems = re.findall(r'([-_\w]+@[-_\w]+(\.[-_\w]+)+)', article)

print(list(map(lambda x:x[0], ems)))